//
//  My_KeyBoardView.h
//  wangzhe
//
//  Created by 李 佳伟 on 2018/3/14.
//  Copyright © 2018年 李 佳伟. All rights reserved.
//

#import <UIKit/UIKit.h>
//创建自定义键盘协议
@protocol My_KeyBoardDelegate <NSObject>
//创建协议方法
@required//必须执行的方法
- (void)numberKeyBoard:(NSInteger) number;
- (void)cancelKeyBoard;
- (void)finishKeyBoard;
- (void)periodKeyBoard;
- (void)doubleNumberKeyBoard;
- (void)removeAllData;
 @optional//不必须执行方法
 @end

@interface My_KeyBoardView : UIView
{
@private//私有的协议方法
 id<My_KeyBoardDelegate> _delegate;
    
}
 @property (nonatomic, strong) id<My_KeyBoardDelegate> delegate;
 - (id)initWithNumber:(NSNumber *)number;
@end
